-- GENERATED SPELL FOR [Anguished Highborne] --


function spell0_7524(pUnit, Event) --@Mind Blast,n/a--
pUnit:FullCastSpellOnTarget(13860,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7524', 1500, 1)
end

function Sorts_7524(pUnit, Event)
local choix_sorts_7524 = math.random(0, 0)
if choix_sorts_7524 == 0 then
pUnit:RegisterEvent('spell0_7524', 1, 1)
end
end

function mob7524_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7524', math.random(1500, 3000), 1)
end

function mob7524_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7524_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7524_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7524, 1, 'mob7524_Action')
RegisterUnitEvent(7524, 2, 'mob7524_Leave')
RegisterUnitEvent(7524, 3, 'mob7524_Kill')
RegisterUnitEvent(7524, 4, 'mob7524_Die')
